package com.zbkj.admin.service;

import com.github.pagehelper.PageInfo;
import com.zbkj.common.model.product.Product;
import com.zbkj.common.request.product.AdminProductQueryRequest;
import com.zbkj.common.request.product.AdminProductSaveRequest;
import com.zbkj.common.vo.MyRecord;

import java.util.List;

/**
 * @Auther:
 * @Date: 2024/9/12 13:52
 * @Description:
 */
public interface AdminProductHandler {

    PageInfo<Product> list(AdminProductQueryRequest queryRequest);

    void saveOrUpdate(AdminProductSaveRequest productRequest);

    Product getInfo(Long id);

    void updateStatus(Long id, Integer status);

    void delProduct(Long id);

    List<Product> getBuyProductList(Integer queryType);
}
